<style>
.fui-navbar .cartbtn {padding-right:0.3rem;background:#fff;opacity:1}
.fui-navbar .buybtn  {padding-left:0.3rem;background:#fff}
.fee-tag-nav, .fee-tagup-nav, .fee-disabled-nav {border-radius:1rem;height:2rem;line-height:2rem;color:#fff;width:100%;font-weight:400;font-size:0.7rem;margin:0.2rem 0;padding:0 0.2rem}
.fee-tagup {background:#4491F1;color:#fff;width:auto;font-weight:400;font-size:0.55rem}
.fee-tag-nav {background:#ff9999;}
.fee-tagup-nav {background:#4491F1;}
.fee-disabled-nav {background:#bbb;color:#fff;}	
.label-default {
    background-color: #f5f7fb;
	color: #999;
}
</style>
<div class="fui-page">
	<div class="fui-content">
		<div style="background: {{main.syscolor||'#05c175'}};padding:1rem 0.5rem;margin-top:0;padding-bottom:1.6rem;"></div>
		<div style="padding:0.5rem;margin-top:-2.2rem">
			<div class="fui-cell-group radius">
				<div class="fui-cell" style="padding:0.5rem;align-items:stretch">
						<div class="fui-cellone-label" style="width:auto;padding-right:0.4rem">
							<div style="font-size:0.9rem">
							<img style="width:3rem;height:3rem;border-radius:0.3rem" ng-src="{{tomedia(pagedata.item.logo)||'../addons/jy_51job/resource/images/nopic.jpg'}}"/>
							</div>
						</div>
						<div class="fui-cell-text" style="line-height:1.8">
							<div>
							<span class="bold">{{pagedata.item.title}}</span> 
							<span ng-if="pagedata.item.isday" class="label label-default">今日活跃</span>
							<span ng-if="pagedata.item.isnew" class="label label-danger">新职位</span>
							</div>
							<div class="gray" style="font-size:0.6rem">
								<span>{{pagedata.item.teamtypetitle||'**'}}</span> | <span ng-repeat="value in pagedata.item.cidstitle">{{value}}、</span>
							</div>
							<div class="gray" style="font-size:0.65rem">
								<span class="label label-default">{{pagedata.item.city||'***'}}</span>{{pagedata.item.address}}
							</div>
							<div class="text" style="font-size:0.65rem">
								<div class="fui-cellone" style="padding:0.3rem 0;font-size:0.6rem">
								<div class="fui-cellone-label" style="width:auto">热招：</div>
								<div class="fui-cellone-info"><span class="syscolor">{{pagedata.item.jobtitle||'**'}}</span></div>
								<div class="fui-cellone-remark">等{{pagedata.item.jobnum||0}}个职位</div>
								</div>
							</div>
						</div>
				</div>
			</div>
			<div class="fui-tab-scroll" style="margin-top:0;">
				<div ng-class="{'item':1,'on':pagedata.params.type!=1}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.params.type=0;">企业信息</a></div>
				<div ng-class="{'item':1,'on':pagedata.params.type==1}" style="height:2rem;line-height:2rem"><a href="javascript:;" ng-click="pagedata.params.type=1;">在招职位</a></div>
			</div>
			<div ng-if="pagedata.params.type!=1">
			<div class="fui-cell-group radius">
				<div class="fui-cell" style="padding:0.5rem;align-items:stretch">
						<div class="fui-cell-text" style="line-height:1.8">
							<div class="bold">企业描述</div>
							<div class="gray" style="font-size:0.65rem" ng-bind-html="trust(pagedata.item.desc)">
							</div>
						</div>
				</div>
			</div>
			<div class="fui-cell-group radius">
				<div class="fui-cell" style="padding:0.5rem;align-items:stretch">
						<div class="fui-cell-text" style="line-height:1.8">
							<div class="bold">企业详情</div>
							<div class="gray" style="font-size:0.65rem" ng-bind-html="trust(pagedata.item.content)">
							</div>
						</div>
				</div>
			</div>
			</div>
			<div ng-if="pagedata.params.type==1">
			<div ng-repeat="item in pagedata.list" class="fui-cell-group" style="padding:0.5rem;border-radius:0.5rem;">
				<div class="fui-cell" style="background:#fff;padding:0.5rem;align-items:stretch" href="javascript:;" ng-click="access_json('jy_51job/job_detail//id='+item.id)">
						<div class="fui-cell-text" style="line-height:1.8">
							<div>{{item.title}}</div>
							<div>
								<span class="label label-default" style="background:#e4fcdc">{{item.sextitle}}</span>
								<span class="label label-default" style="background:#daf2fe">{{item.city||'***'}} {{item.district||'***'}}</span>
								<span class="label label-default" style="background:#fff5dc">{{item.xuelititle}}</span>
							</div>
						</div>
						<div class="fui-cellone-remark noremark">
							<span class="bold syscolor" style="font-size:0.9rem">{{item.price}}元/月</span>
						</div>
				</div>	
			</div>
			</div>
	</div>
	</div>
	<!--底部按钮-->
	<div class="fui-navbar bottom-buttons">
		<a class="nav-item external" href="javascript:"  ng-click="access_json('jy_51job/index/')">
			<span class="icon jinyunicon icon-shouye"></span>
			<span class="label">首页</span>
		</a>
		<a class="nav-item external" href="javascript:"  onclick="$('#showsharecover').modal();">
			<span class="icon jinyunicon icon-fenxiang2"></span>
			<span class="label">分享</span>
		</a>
		<a class="nav-item btn buybtn" href="javascript:"  ng-click="pagedata.tokefu()">
			<div class="fee-tagup-nav">
			<span style="">立即沟通</span>
			</div>
		</a>
	</div>
</div>
<!--分享弹层-->
<div id="showsharecover" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
<div class="modal-dialog" style="width:100%;left:0;top:0">
	<div id="cover">
		<div class='fui-mask-m visible'></div>
		<div class='arrow'></div>
		<div class='content'>请点击右上角<br/>通过【发送给朋友】<br/>转发给好友哦</div>
	</div>
</div>
</div>
<script>
scope.tool.get_list('/merch/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('/merch/getlist/');
}
</script>
<script type="text/javascript">
scope.pagedata.tokefu=function(){
	if(!scope.pagedata.pluginset.kefutype_h5 || scope.pagedata.pluginset.kefutype_h5==0){
		scope.access_json(scope.pagedata.pluginset.kflink);
	}else if(scope.pagedata.pluginset.kefutype_h5==1){
		scope.pagedata.kefuqr=scope.pagedata.pluginset.kf_accountimg;
		scope.pagedata.showqrcode=1;
		scope.pagedata.openwxlink(item.linkurl);
	}else if(scope.pagedata.pluginset.kefutype_h5==2){
		scope.access_json(scope.pagedata.pluginset.appkflink);
	}else if(scope.pagedata.pluginset.kefutype_h5==3){
		scope.access_json(scope.pagedata.pluginset.workerh5url);
	}else if(scope.pagedata.pluginset.kefutype_h5==4){
		scope.pagedata.kefuqr=scope.pagedata.pluginset.guwenkfewm;
		scope.pagedata.showqrcode=1
	}
	scope.$evalAsync();
};
</script>